package com.practice.book.mapper;

import com.practice.book.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2025-01-20
 * Time: 15:55
 */
@Mapper
public interface UserMapper {
    @Select("select * from user_info where delete_flag = 0 and user_name = #{name}")
    UserInfo selcetUser(String name);
}
